body
{
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt Arial,Helvetica,sans-serif;
}

#page{}

#header
{
	height: 56px;
	padding: 0px 30px;
	background: url('images/header.png') repeat-x;
	min-width: 900px;
	color: white;
}

#content
{
    padding: 4px 20px 20px;
	border: 1px solid #CECECE;
	margin: 20px;
	background: url('images/box.png') repeat-x;
	-webkit-border-radius: 7px 7px 0px 0px;
	-moz-border-radius: 7px 7px 0px 0px;
	-khtml-border-radius: 7px 7px 0px 0px;
	border-radius: 7px 7px 0px 0px;
}

#sidebar
{
	padding: 20px 20px 20px 0;
}


#logo
{
	padding: 10px 20px;
	font-size: 200%;
}

#mainmenu
{
	background: url('images/menu.png') repeat-x;
	position: relative;
	z-index: 1;
	height: 34px;
	clear: both;
	padding: 0px 30px;
	min-width: 900px;
}

#mainmenu ul
{
	display: block;
	margin: 0;
	overflow: hidden;
}

#mainmenu ul li
{
	float: left;
	list-style: none;
}
#mainmenu ul li:last-child{
	float: right;
}
#mainmenu > ul > li + li {
	background: url('images/split.png') center left no-repeat;
}
#mainmenu ul li a
{
	padding: 10px 15px 9px 17px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: white;
	text-align: center;
	display: block;
	text-decoration: none;
}

#mainmenu ul li.active a
{
	background: url('images/selected.png') repeat-x;
	color: white;
}
#mainmenu ul li:hover ul
{
	display:block
}
#mainmenu ul li ul {
	display:none;
	list-style: none;
	margin: 0;
	padding: 0;
	background: url('images/transparent.png');
	position: absolute;
}
#mainmenu ul li ul li:last-child{
	float: none;
}
#mainmenu ul li ul li{
	float: none;
	text-align:left;
}
#mainmenu ul li ul li a{
	text-align:left;
	width: 150px;
	padding: 5px 10px;
}
#mainmenu ul li:hover ul li a, #mainmenu ul li.active ul li a, #mainmenu ul li ul li a {
	background: transparent;
}
#mainmenu ul li ul li:hover, #mainmenu ul li ul li.active {
	background: #333;
}

/* main menu end*/
/* bread start */
.bread{
	background: white url('images/background.png') 0px 1px repeat-x;
	padding: 10px 30px 0px 
}
/* bread end */
/* footer start */
#footer{
	background: white url('images/footer.png') repeat-x;
	height: 90px;
	padding-top: 38px;
	text-align: center;
	font-size: 12px;
	color: #333;
	position: relative;
	clear: both;
}
/* footer end */
#content h1{float:left; font-size: 20px;margin-bottom: 15px;line-height: 29px;margin: 0;padding: 0;}
#content .form{clear:both;padding: 15px 0;}
#content .form .row{clear:both;border-bottom:1px dotted #CECECE;overflow: hidden;padding-bottom: 5px;margin-top:5px;}
#content .form .row label{width:200px;}
#content .form .row .field, #content .form .row .redactor_box{float:left;}
#content .form .row .redactor_box{width: 70%;}
#content .form .row input, #content .form .row textarea{width:500px;}
#content .form .row select{width:505px;}

#content ul.yiiPager a:link, ul.yiiPager a:visited {
	border: solid 1px #d91f21;
	font-weight: bold;
	color: #d91f21;
	padding: 1px 6px;
	text-decoration: none;
	-webkit-border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-khtml-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
}
#content ul.yiiPager .selected a {
	background: #d91f21;
	color: white;
	font-weight: bold;
}
/* buttons start */
#buttons{
	float:right;
height: 33px;
}
#buttons .portlet-content{
	margin: 0;
	padding: 0;
}
#buttons ul{
	overflow: hidden;
	
}
#buttons li{
	float:left;
}
#buttons li a{
	border: 1px solid #333;
	font-weight:normal;
	cursor: pointer;
	text-decoration: none;
	color: white;
	display: inline-block;
	padding: 5px 15px 5px 15px;
	background: #d91f21;
	-webkit-border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-khtml-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
	margin: 0 2px;
}
/* buttons end */
/* table start */
#content .index{clear: both; margin-top:40px;}
#content .grid-view{clear: both;}
#content .grid-view table.items td, #content .grid-view table.items th{padding:5px; border:1px solid #DDD;}
#content .grid-view table.items th {background: #EFEFEF}
#content .grid-view table.items th{color:black; font-weight:bold;}
#content .grid-view table.items th a{color:black; font-weight:bold;}
#content .grid-view table.items tbody tr:hover {background: moccasin ;}
#content .grid-view table.items tr.odd {background: #f6fbfc;}
#content .grid-view table.items tr.even {background: #fff;}
#content .grid-view .button-column {width:73px}
/* tables end */

/*login*/
#page.loginpage {
	margin:  0;
	padding: 0;
}
#page.loginpage .content{
	padding-top:30px;
background: white url('images/background.png') 0px 1px repeat-x;
}
/*error*/
div.form .errorMessage {
	color: red;
	font-size: 0.9em;
	display: block;
	clear: both;
}
/*index*/
#counter {
  width: 938px;
  margin: 0 auto 22px;
  clear: both;
  height: 74px;
  background: url('../../images/counter.png') no-repeat center bottom;
  padding-top: 38px;
  font-size: 20px;
  color: #333;
  line-height: 18px;
  font-weight: bold;
  text-align: center;
}
#counter p  {
	margin: 0;
}
#counter p span {
  color: #cc0000;
  font-size: 24px;
  margin-right: 51px;
}
#counter p span.last {
  margin-right: 0;
}
div.clear{width:100%;clear:both;overflow:hidden;}
div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin:1em 0;
	border:2px solid #ddd;
	clear:both;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

.portlet
{

}

.portlet-decoration
{
	padding: 3px 8px;
	background: #B7D6E7;
	border-left: 5px solid #6FACCF;
}
.portlet-decoration hr{display:none;}

.portlet-title
{
	font-size: 12px;
	font-weight: bold;
	padding: 5px;
	margin: 0;
	color: #298dcd;
}

.portlet-content
{
	margin: 0 0 15px 0;
	padding: 5px 8px;
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 2px 0 4px 0px;
}

.operations
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.operations li
{
	padding-bottom: 2px;
}

.operations li a
{
	font: bold 12px Arial;
	color: #0066A4;
	display: block;
	padding: 2px 0 2px 8px;
	line-height: 15px;
	text-decoration: none;
}

.operations li a:visited
{
	color: #0066A4;
}

.operations li a:hover
{
	background: #80CFFF;
}
.popup  {
	position: fixed;
	bottom: 10px;
	right: 20px;
	width: 300px;
	max-height: 400px;
	overflow-y: scroll;
	padding: 30px 10px 10px;
	background: white;
	border: 1px solid black;
	z-index: 9999;
	font-size:12px;
}

.popup .closePopup{display: block;position: absolute;right: 10px;top:10px;cursor:pointer;}

.row.big p{overflow:hidden;}
.row.big p label{width:100%;}
